import http from "@/utils/request";

export function schoolEdit(data) {
  return http.request({
    url: "/admin/school_edit/",
    method: "post",
    data,
  });
}
export function pwdEdit(data) {
  return http.request({
    url: "/admin/pwd_edit/",
    method: "post",
    data,
  });
}
export function getClassList(data) {
  return http.request({
    url: "/school/class_list/",
    method: "post",
    data,
  });
}
export function getClassInfo(data) {
  return http.request({
    url: "/school/class_info/",
    method: "post",
    data,
  });
}
export function getCurriculum(data) {
  return http.request({
    url: "/school/curriculum/",
    method: "post",
    data,
  });
}
export function getExperienceCurriculum(data) {
  return http.request({
    url: "/admin/experience/",
    method: "post",
    data,
  });
}

export function getCurriculumInfo(data) {
  return http.request({
    url: "/admin/app_curriculum_info/",
    method: "post",
    data,
  });
}

export function classAdd(data) {
  return http.request({
    url: "/school/class_add/",
    method: "post",
    data,
  });
}
export function classEdit(data) {
  return http.request({
    url: "/school/class_edit/",
    method: "post",
    data,
  });
}
export function getTeacherSchoolList(data) {
  return http.request({
    url: "/agent/teacher_school/",
    method: "post",
    data,
  });
}
